# Compiler settings
#set (CMAKE_CXX_FLAGS "-g -Wall")
set (CMAKE_CXX_FLAGS "-Wall -O3")

include_directories(${OPENGL_INCLUDE_DIR} ${FREETYPE_INCLUDE_DIRS} ${SDL_INCLUDE_DIR} ${FTGL_INCLUDE_DIR} )

# Pay attention to the order
set(LIBS ${LIBS} ${FTGL_LIBRARIES} ${FREETYPE_LIBRARIES} ${SDL_LIBRARY} ${OPENGL_LIBRARY} )

add_executable (../GraphSearchVisualizer Graph.cpp Heuristic.cpp Search.cpp EventHandler.cpp Renderer.cpp Visualizer.cpp main.cpp )
target_link_libraries(../GraphSearchVisualizer ${LIBS})

